[XEN][POWERPC] Find all of memory and feed all the heaps
authorJimi Xenidis <jimix@watson.ibm.com>
Tue, 22 Aug 2006 21:20:58 +0000 (17:20 -0400)
committerJimi Xenidis <jimix@watson.ibm.com>
Tue, 22 Aug 2006 21:20:58 +0000 (17:20 -0400)
commit7b7b5e9a14366e7688967216e6d238f5a73a6de0
treede9afcf99a1885f413fc4d949945be8c406a647d
parent20d4b0315e8aeaa51b16b6dc834b103b897086ee
[XEN][POWERPC] Find all of memory and feed all the heaps

This code walks the OF dev tree, finding end-of-memory and memory holes.
All memory beyond the hypervisor's RMA is added to domheap. (Previously
only memory upto 1st hole was used.) Finally, parts of setup.c have been
swept into memory.c as cleanup.

Based on a patch by Dan Poff <poff@us.ibm.com>.

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
xen/arch/powerpc/Makefile
xen/arch/powerpc/exceptions.h
xen/arch/powerpc/memory.c [new file with mode: 0644]
xen/arch/powerpc/oftree.h
xen/arch/powerpc/setup.c